# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file '登录界面.ui'
##
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *
from PySide2 import QtWidgets, QtGui
import sys
from PySide2.QtGui import QPixmap, QIcon


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(800, 600)
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.widget = QWidget(self.centralwidget)
        self.widget.setObjectName(u"widget")
        self.widget.setGeometry(QRect(270, 200, 240, 26))
        self.horizontalLayout = QHBoxLayout(self.widget)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.label_user = QLabel(self.widget)
        self.label_user.setObjectName(u"label_user")

        self.horizontalLayout.addWidget(self.label_user)

        self.lineEdit_user = QLineEdit(self.widget)
        self.lineEdit_user.setObjectName(u"lineEdit_user")


        self.horizontalLayout.addWidget(self.lineEdit_user)

        self.widget1 = QWidget(self.centralwidget)
        self.widget1.setObjectName(u"widget1")
        self.widget1.setGeometry(QRect(270, 240, 241, 26))
        self.horizontalLayout_2 = QHBoxLayout(self.widget1)
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.label_passport = QLabel(self.widget1)
        self.label_passport.setObjectName(u"label_passport")
        self.label_passport.setAlignment(Qt.AlignCenter)


        self.horizontalLayout_2.addWidget(self.label_passport)

        self.lineEdit_passport = QLineEdit(self.widget1)
        self.lineEdit_passport.setObjectName(u"lineEdit_passport")


        # 设定 密码输入的文本框为 密码文本，并且为其设置验证器，控制只能输入8为密码
        self.lineEdit_passport.setEchoMode(QtWidgets.QLineEdit.Password)
        self.lineEdit_passport.setValidator(QtGui.QIntValidator(10000000, 99999999))


        self.horizontalLayout_2.addWidget(self.lineEdit_passport)

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(MainWindow)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 800, 26))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(MainWindow)
        self.statusbar.setObjectName(u"statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)

        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"\u7cfb\u7edf\u767b\u5f55", None))
        self.label_user.setText(QCoreApplication.translate("MainWindow", u"\u7528\u6237\u540d\uff1a", None))
        self.lineEdit_user.setText("")
        self.label_passport.setText(QCoreApplication.translate("MainWindow", u"\u5bc6  \u7801\uff1a", None))
    # retranslateUi


if __name__ == '__main__':
    app = QtWidgets.QApplication(sys.argv)
    MainWindow = QtWidgets.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())



